home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / zines / Midnight-Raid / midnight raid 8_app_640x480.sit / tmr 8 small.rsrc / TEXT_2100_11 SS7 Signal Units.txt < prev    next >
Text File  |  2000-01-09  |  13KB  |  275 lines

  1. 31371n                 @        11        @                     elev1n
  2.                        @ SS7 signal units @ 
  3. constant               @      h1tman      @                  elevation
  4.                       h1tman@anti-social.com
  5.  
  6.  
  7. 1. Introduction
  8. 2. Explaination of Signal Units
  9. 3. Functions of the different Siganl Units
  10. 4. Signal Unit Structure
  11. 5. Message Signal Unit Structure
  12. 6. Link Status Signal Unit Structure
  13. 7. Fill-In Signal Unit Structure
  14. 8. Appendix
  15. 9. Closing
  16.  
  17.  
  18. 1.Introduction
  19.  
  20.  
  21.   In my last article, i briefly went over the functions of the three signal units
  22.   Message Signal Units (MSUs),Link Status Signal Units (LSSUs) and Fill-In Signal
  23.   Units (FISUs). In this paper i will hope to give you more information on these
  24.   'packets of the signaling link' so that you can have a broader understanding of
  25.   how the SS7 network works and communicates with it's components.
  26.  
  27.  
  28. 2.Explaination of Siganl Units
  29.  
  30.  
  31.  Signal Units (SUs) are packets of data that are sent over the signaling links of
  32.  a SS7 network. These messages contain needed signalling information such as the
  33.  destination switch, sending switch, the calling number,called number,selected
  34.  trunk,etc. Signal Units are used to setup call control and tear down, provide
  35.  error checking by monitering the link constantly. Basically, it helps manage a
  36.  SS7 network.
  37.  
  38.  
  39. 3.Functions of the different Siganl Units
  40.  
  41.  
  42.  FISUS, or Fill-In Signal Units are sent when no important information is being
  43.  transmitted over the siganl link. They contain no data,they fill up the signalling
  44.  link until there is a need to send important signalling. They provide a constant
  45.  signal over the link which is good for monitering and troubleshooting.
  46.  
  47.  LSSUs or Link Status Signal Units provide information on the status of the signal
  48.  link.They signal the initiation of link alignment, the quality of received
  49.  signaling traffic and the status of processors at either end of the link between
  50.  the node. 
  51.  
  52.  MSUs are Message Signall Units, they send messgases between SSPs and STPS and STPs
  53.  and SCPs. MSUs conatain routing information,trunk data,etc. They control call
  54.  setups and tear downs and database queries and responses(800 nums,etc)
  55.  
  56.  There are several types of MSUs...
  57.  
  58.  IAM - Initial Address Message- Used to begin the call.
  59.   It identifies the sending switch,the recieving switch,the trunk selected, the
  60.   calling and called numbers, and other information.
  61.  
  62.  ACM - Address Complete Message- indicates that the IAM has been recieved.
  63.   The message identifies the recipient switch, the sending switch ,and the
  64.   selected trunk. 
  65.  
  66.  ANM - Answer Message- Is sent when the called person picks up his phone.
  67.   It tells the trunk to open itself in both directions.
  68.  
  69.     REL - Release Message- is sent to tell that one of the  calling subcriber has hung
  70.      up. It also identifies the trunk used for the call.
  71.  
  72.     RLC - Release Complete Message- This identifies the trunk used to carry the call
  73.      and to idlethat trunk.
  74.     
  75.  
  76.  
  77. 4.Signal Unit Structure
  78.  
  79.  
  80. Flag 
  81.  
  82. A flag marks the beginning of a signal unit and end of a  previous signal unit
  83. (if there was one). The flag's binary value is 01111110. MTP Level 2 adds a
  84. zero-bit(0) after any sequence of of five one-bits(11111) to remove false flags.
  85. After the the message is recieved and the flag removed, MTP Level 2 then removes
  86. the 0's so that the original message is restored. Bit manipulation like this is
  87. used to prevent data being transmitted over the signalling link containing the
  88. flag's binary value.
  89.  
  90. Checksum (CRC)
  91.  
  92. The checksum is an 8-bit (octect) number that verifies that the Signal Unit has been
  93. transmitted across the link error free. The checksum is calculated from the
  94. transmitted message by the signalling point and then inserted into the message. The
  95. checksum is recalculated by the signaling point when the message is received. If the
  96. result is different from the recieved checksum,then a retransmission is requested due
  97. to the corruption of the SU.
  98.  
  99. Length Indicator
  100.  
  101. The length indicator (LI) shows the number of octets between itself and the checksum.
  102. It checks the condition of the SU and to determine what type of SU is being
  103. transmitted. A FISU has a length indicator of 0, a LSSU has the lenght indicator
  104. of 1 or 2, and a MSU has a length indicator of 3 to 63. If the value is less than
  105. 63,than the LI will store that number that number. Yet if the value is greater than
  106. 63,then the LI will set the value to 63. Meaning, any MSU with value in the length
  107. indicator greater than 63 (ex; 65),the value 63 will be used.
  108.  
  109. BSN/BIB FSN/FIB 
  110.  
  111. The Backwards Sequence Number (BSN), Backwards Indicator Bit (BIB), Forward
  112. Sequence Number (FSN), and Forward Indicator Bit (FIB) are used to confirm that a
  113. signal unit was received and recieved in the correct order transmitted. The BSN is
  114. used to confirm that a signal unit was received by the signaling point and contains
  115. the sequence number of the SU being acknowledged. The FSN contains the sequence
  116. number of the signal unit.The BIB and FIB are used to check for data corruption of
  117. the SU and to request retramission. 
  118.  
  119.  
  120. Subservice Field
  121.  
  122. The subservice field contains the network indicator and the message priority. The
  123. network indicator indicates whether the the message is for national or international
  124. networks. Message priority is only used during certain congestion conditions.
  125.  
  126.  
  127. Service Indicator
  128.  
  129.  
  130. The service indicator denotes the MTP user, which allows the decoding of the
  131. information contained in the SIF. Signaling Network Management is 0, Maintenance
  132. Regular Message is 1, Maintenance Special Message is 2, Signaling Connection Control
  133. Part is 3, Telephone User Part is 4, ISDN User Part is 5, Data User Part for call
  134. and circuit related is 6, and Data User Part for facility registration is 7.
  135. Two bits of the SIO are used to determine whether it is for national or international
  136. networks and two bits are used for message priority. The lowest priority is 0 and the
  137. highest priority is 3. However, priority is only used during certain congestion
  138. condtions. Also note that FISUs and LSSUs do not contain a SIO and that the SIO
  139. field in an MSU contains the 4-bit subservice field followed by the 4-bit service
  140. indicator.
  141.  
  142. +--------------------+-----------------------------------------------+
  143. |  Service Indicator |                   MTP User                    |
  144. |--------------------|-----------------------------------------------|
  145. |         0          |  Signaling Network Management Message (SNM)   |
  146. |--------------------|-----------------------------------------------|
  147. |         1          |  Maintenance Regular Message (MTN)            |
  148. |--------------------|-----------------------------------------------|
  149. |         2          |  Maintenance Special Message (MTNS)           |
  150. |--------------------|-----------------------------------------------|
  151. |         3          |  Signaling Connection Control Part (SCCP)     |
  152. |--------------------|-----------------------------------------------|
  153. |         4          |  Telephone USer Part (TUP)                    |
  154. |--------------------|-----------------------------------------------|
  155. |         5          |  ISDN User Part (ISUP)                        |
  156. |--------------------------------------------------------------------|
  157. |         6          |  Data User Part (call and circuit)            |
  158. |--------------------------------------------------------------------|
  159. |         7          |  Data User Part (facility registration)       |
  160. +--------------------+-----------------------------------------------+
  161.  
  162.  
  163. SIF
  164.  
  165. The Signaling Information Field is used for routing information.  The routing
  166. label is the first section of the Signaling Information Field of a Signal Unit.  
  167. It identifies the origination point, the destination point, and the signaling link
  168. selection. Point codes are numeric addresses which uniquely identifies each
  169. signaling point of a SS7 network. The signaling link selection is used to distribute
  170. message traffic over different links.  The Destination Point Code (DPC) contains
  171. the address of the node to which the message is to be sent to. The Originating
  172. Point Code (OPC) contains the address of the message originator. The Signaling Link
  173. Selection (SLS) distributes the data across different links.  
  174.  
  175. SLS
  176.  
  177. The SLS (Signaling Link Selection) is used to verify message sequencing. If any two
  178. messages are transmitted with the same SLS,they will arrive at the destination in
  179. the same order they were origianlly sent. SLS also allows equal load sharing of
  180. traffic among all available links,which theoritically equals the traffic level among
  181. all links to that destination.
  182.  
  183.  
  184. 5.Message Signal Unit Structure
  185.  
  186.  
  187.     +---------+-------+--+---------+--+-----+-----+-------+--------+-------+---------+
  188.     |         |       | B|         |F |     |     |       |        |       |         |
  189.     |  Flag   |  BSN  | I|   FSN   |I |  LI |Spare| SIO   |  SIF   | CRC   |  Flag   |
  190.     |         |       | B|         |B |     |     |       |        |       |         |
  191.     +---------+-------+--+---------+--+-----+-----+-------+--------+-------+---------+
  192. Length    8       7     1     7      1   6     2     8       8n      16          8
  193. (bits)                                                      n<=272
  194.  
  195. Message Signal Units (MSUs),unlike FISUs and LSSUs have a SIO and a SIF.They need
  196. the SIF to hold the call control,database queries and responses and other data.
  197. The MSUs have a SIO to determine where the message will be sent (national or
  198. international) and what user type is being used.
  199.  
  200.  
  201. 6.Link Status Signal Unit Structure
  202.  
  203.  
  204.     +---------+-------+--+---------+--+-----+-----+-------+--------+---------+
  205.     |         |       | B|         |F |     |     |       |        |         |
  206.     |  Flag   |  BSN  | I|   FSN   |I |  LI |Spare|Status |  CRC   |  Flag   |
  207.     |         |       | B|         |B |     |     |       |        |         |
  208.     +---------+-------+--+---------+--+-----+-----+-------+--------+---------+
  209. Length    8        7   1      7     1    6      2   8/16     16         8
  210. (bits)
  211.  
  212. Link Status Signal Units (LSSUs) carry one or two octets (8-bit bytes) of link
  213. status information between signaling points at either end of a link. The link status
  214. is used to indicate the status of a signaling point to the remote signaling point.
  215.  
  216.  
  217. 7.Fill-In Signal Unit Structure
  218.  
  219.     +---------+-------+--+---------+--+-----+-----+-------+---------+
  220.     |         |       | B|         |F |     |     |       |         |
  221.     |  Flag   |  BSN  | I|   FSN   |I |  LI |Spare| CRC   |  Flag   |
  222.     |         |       | B|         |B |     |     |       |         |
  223.     +---------+-------+--+---------+--+-----+-----+-------+---------+
  224. Length     8      7     1     7     1    6     2     16        8
  225. (bits)
  226.  
  227. Unlike LSSUs and MSUs, FISUs can travel a link in both directions. This is good for
  228. network managment because it checks the quality of a link. The FISU is used to fill
  229. up the link until a MSU or LSSU is present.
  230.  
  231. 8.Appendix
  232.  
  233.  
  234. ACM                Address Complete Message
  235. ANM                Answer Message
  236. BIB                Backward Indicator Bit
  237. BSN                Backward Sequence Number
  238. CRC                Cyclic Redundancy Check
  239. DPC                Destination Point Code 
  240. FIB                Forward Indicator Bit
  241. FISU               Fill in Signal Unit
  242. FSN                Forward Sequence Number
  243. IAM                Initial Address Message
  244. LI                 Length Indicator
  245. LSSU               Link Status Signal Unit
  246. MSU                Message Signal Unit
  247. MTP                Message Transfer Part 
  248. OPC                Originating Point Code
  249. REL                Release Message
  250. RCL                Release Complete Message
  251. SCCP               Signaling Connection Control Part
  252. SCP                Signal Control Point
  253. SIF                Signaling Information Field
  254. SIO                Service Information Octet
  255. SLS                Signaling Link Selection
  256. SS7                Signaling System 7
  257. SSP                Signal Switching Point
  258. STP                Signal Transfer Point
  259. SU                 Signal Unit
  260.  
  261.  
  262. 9.Closing
  263.  
  264.  
  265. Thatz it. Hopefully ya newbie phreaks are learning something about telecommunications
  266. and how calling your phriend is really made possible. Like last time, i really hope
  267. you go out and buy some books on SS7 and ISDN,the books explain it in much more detail
  268. then i ever could(even though the books cost ($70-100)). I want feedback too,aight?
  269. Keep your beef to a minimum though kid.
  270.  
  271. -h1tman aka tah murdah
  272. werd to nulltone,lupus,simon,teflon,loopHole,alienbinary,digiphreq,hybrid,substance...
  273. and...seti?
  274.  
  275. idle_TRUNK BBS(973) fewls.jo0 betta recognize%#$^